package com.zhanghe.study.mybatis.datasource;

import org.apache.ibatis.datasource.DataSourceFactory;

import javax.sql.DataSource;
import java.util.Properties;

/**
 * @author zh
 * @date 2022/1/18 11:21
 */
public class MyDataSource implements DataSourceFactory {

    private Properties props;
    @Override
    public void setProperties(Properties props) {
        this.props = props;
    }

    @Override
    public DataSource getDataSource() {
        DataSource dataSource;
        return null;
    }
}
